package com.example.demo.model;

import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2023-03-09
 * Time: 10:42
 */

@Data
public class User {
    private Long id;
    private String userCode;
    private String userName;
    private String userPassword;
    private int gender;
    private Date birthday;
    private String phone;
    private String address;
    private int userRole;
    private Long createdBy;
    private Date datetime;
    private Long modifyBy;
    private Date modifyDate;

    //一对一关系
    private Role role;
}
